package com.jpcc.vw.onlineRadio.adapter.item;

import android.content.Intent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jpcc.vw.onlineRadio.R;
import com.jpcc.vw.onlineRadio.activity.DailyRecommendationActivity;
import com.jpcc.vw.onlineRadio.model.bean.PurchaseMembershipEntity;
import com.jpcc.vw.onlineRadio.recycle.RecyclerView.BaseItem;


public class MembershipPurchaseItem extends BaseItem<PurchaseMembershipEntity> implements View.OnClickListener {

    private PurchaseMembershipEntity entity;
    private TextView tv_category;

    public MembershipPurchaseItem(ViewGroup parent) {
        super(parent);
    }

    @Override
    public int getRes() {
        return R.layout.adapter_membership_purchase;
    }

    @Override
    public void onCreateView(View rootView) {
        tv_category=(TextView)rootView.findViewById(R.id.tv_category);
    }

    @Override
    public void onBindView(PurchaseMembershipEntity albumCategoryEntity) {
    }

    @Override
    public void onClick(View v) {
        Intent intent=new Intent(getContext(),DailyRecommendationActivity.class);
    }
}
